/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DBLayer;

import ModelLayer.Customer;
import java.util.ArrayList;

/**
 *
 * @author Lie
 */
public interface IFDBCustomer {
    // get all Customer
    public ArrayList<Customer> getAllCustomer();
    //find by name
    public Customer searchCustomerName(String name);
    //finde by Id
    public Customer searchCustomerId(int cusID);
    //Insert customer
    public int insertCustomer(Customer cus);
    //update information about an Customer
    public int updateCustomer(Customer cus);
    //delete customer
    public int deleteCustomer(int personID);

}
